package com.haoting.mamba.team.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.haoting.common.utils.PageUtils;
import com.haoting.common.utils.Query;

import com.haoting.mamba.team.dao.TeamSupportsDao;
import com.haoting.mamba.team.entity.TeamSupportsEntity;
import com.haoting.mamba.team.service.TeamSupportsService;


@Service("teamSupportsService")
public class TeamSupportsServiceImpl extends ServiceImpl<TeamSupportsDao, TeamSupportsEntity> implements TeamSupportsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TeamSupportsEntity> page = this.page(
                new Query<TeamSupportsEntity>().getPage(params),
                new QueryWrapper<TeamSupportsEntity>()
        );

        return new PageUtils(page);
    }

}